c# list grouping

82

c# list grouping -

var groupedCustomerList = userList
    .GroupBy(u => u.GroupID)
    .Select(grp => grp.ToList())
    .ToList();

Comments

Submit
0 Comments